package com.morningstar.flow;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author Admin
 */
@SpringBootApplication
@EnableWebMvc
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan(basePackages = {"com.morningstar.flow.dao.mapper"})
@EnableFeignClients(basePackages = {"com.morningstar.system.api.feign"})
public class FlowApplication {

    public static void main(String[] args) {
        SpringApplication.run(FlowApplication.class, args);
    }
}
